using UnityEngine;

public class RewardBurstAnimation : MonoBehaviour
{
	public Animator BurstAnimator;

	private void Start()
	{
		if (BurstAnimator == null)
		{
			BurstAnimator = GetComponent<Animator>();
		}
	}

	public void ShowStartAnimation()
	{
		BurstAnimator.Rebind();
		if (!(BurstAnimator == null))
		{
			BurstAnimator.SetTrigger("Running");
		}
	}

	public void HideStartAnimation()
	{
		BurstAnimator.Rebind();
		BurstAnimator.SetBool("Running", value: false);
	}
}
